import Utils.SqList as sq
import time
import Utils.DotHelper as dot

myList = [None]*10
g_list = []
g_list.append(sq.toDotString(myList))

str = 'Hi,World!'
tup=[]
for i,ch in enumerate(str):
    myList[i] = ch
    var_dict = {'Size':10,'Length':i+1,'i':i,'i2':i,'i3':i,'i4':i,'i5':i}
    tup.append((sq.toDotString(myList,i),f'顺序表[i:{i}]', var_dict))

dot.render(tup,10)